<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<div class="bjui-pageHeader">
	<!--form表单注意点--
		1.表单增加opertion属性（属性对应的value可以如下），没有加这个属性，默认用EqualTo
			"IsNull", // XXXX is null
            "IsNotNull", // XXXX is not null
            "EqualTo", // 等于 =
            "NotEqualTo", // 不等于 <>
            "GreaterThan", // 大于 >
            "GreaterThanOrEqualTo", // 大于等于 >=
            "LessThan", // 小于 <
            "LessThanOrEqualTo", // 小于等于 <=
            "Like", // 模糊查询 XXXX like %value%
            "NotLike", // XXXX not like %value%
            "LeftLike", // XXXX like %value
            "NotLeftLike", // XXXX not like %value
            "RightLike", // XXXX like value%
            "NotRightLike", // XXXX not like value%
            "In", // in ()
            "NotIn", // not in ()
            "Between", // 范围 between
            "NotBetween"// not between
	 -->
	<form id="pagerForm" method="post"
		action="$!{webPath}/tssy/tsSyDept/queryRecordByPageForLookUp"
		onsubmit="return pkgParam(this);" data-toggle="ajaxsearch">
		<!-- 分页参数 -->
		<input type="hidden" name="pageSize" value="$!{resultPage.limit}">
		<input type="hidden" name="pageCurrent" value="$!{resultPage.page}">
		<!-- 基本查询框 -->
		<div class="bjui-searchBar">

			<label for="j-deptName" class="control-label x85">&nbsp;部门名称：</label>

			<input opertion="Like" type="text" name="deptName" id="j-deptName"
				value="$!{record.deptName}" size="15" class="form-control" />&nbsp;
			<!--   <button type="button" class="showMoreSearch" data-toggle="moresearch" data-name="custom"><i class="fa fa-angle-double-down"></i></button>
            -->
			<button type="submit" class="btn-default" data-icon="search">查询</button>
			&nbsp; <a class="btn btn-orange" href="javascript:;"
				 data-clear-query="true" data-toggle="reloadsearch" data-icon="undo">清空查询</a>
		</div>
		<!-- 更多查询框 -->
		<!--  <div class="bjui-moreSearch">
        </div> -->
	</form>
</div>
<div class="bjui-pageContent tableContent">
	<table class="table table-bordered table-hover table-striped table-top"
		data-selected-multi="true">
		<thead>
			<tr>
				<th data-order-field="deptName">部门名称</th>
				<th data-order-field="deptPhone">部门电话</th>
				<th data-order-field="linkmanId">联系人</th>
				<th data-order-field="linkmanMobile">联系人电话</th>
				<th data-order-field="remark">备注</th>
				<th width="80">操作</th>
			</tr>
		</thead>
		<tbody>
			#foreach($obj in ${resultPage.resultList})
			<tr data-id="$!{obj.id}">
				<td>$!obj.deptName</td>
				<td>$!obj.deptPhone</td>
				<td>$!obj.linkmanId</td>
				<td>$!obj.linkmanMobile</td>
				<td>$!obj.remark</td>
				<td>
					<a href="javascript:void(0)" data-icon="check"
					class="btn btn-blue" data-toggle="lookupback" data-args="{deptId:'$!obj.id',deptName:'$!obj.deptName'}">选择</a>
			</td>
			</tr>
			#end
		</tbody>
	</table>
</div>
<!-- 列表分页信息 -->
#parse("WEB-INF/page/common/pageBar.html")
